package com.the9.C9Alarm;

//import java.util.HashMap;
//import java.util.Map;

import weibo.WeiboConstant;
import android.app.Application;

public class AlarmApplication extends Application
{
	static final String gameName = "闹钟娘";
	
	//����˹��Ϸ��OpenFeint�ϵ�ע����Ϣ�ĺ궨�塣
	static final String gameID = "1060318632";
	static final String gameKey = "QcnONvB0fTZhfO71khUuA";
	static final String gameSecret = "p2gLs0kFMvF6xYLHSisFzU58izi7rxAf";
	public  WeiboConstant  weiboUser;
	public static AlarmApplication myApp;
	
	public static AlarmApplication getApp(){
		return myApp;
	}
	
	@Override
    public void onCreate() {
		 myApp = this;
        super.onCreate();
       
        weiboUser = new WeiboConstant(this);
        /*//�������Ҫ�Զ���һЩOpenFeintSettings�Ĳ���		
        Map<String, Object> options = new HashMap<String, Object>();
		options.put(OpenFeintSettings.SettingCloudStorageCompressionStrategy,
				OpenFeintSettings.CloudStorageCompressionStrategyDefault);
        OpenFeintSettings settings = new OpenFeintSettings(AppName,
				Product_Key, Product_Secret, Client_Application_ID, options);
         */
        
//        OpenFeintSettings settings = new OpenFeintSettings(gameName,
//        		gameKey, gameSecret, gameID);
   // 	OpenFeint.initializeWithoutLoggingIn(this, settings, new OpenFeintDelegate() {});
    	Form.inialSound(this);
    }
	
	
}
